import Vue from 'vue';
import VueI18n from 'vue-i18n';
import zh_CN from './zh_CN';
import en_US from './en_US';
import store from '../stroes';

Vue.use(VueI18n);

export default new VueI18n({
  locale: store.state.locale,
  messages: {
    zh_CN, en_US
  }
});